<%@ page language="java" 
         contentType="text/html; charset=windows-1256"
         pageEncoding="windows-1256"
         import="LoginUtil.User"
   %>
 <%  User currentUser = (User) (session.getAttribute("currentSessionUser")); 
 	if(currentUser == null || currentUser.getUserType() != User.UserType.Patient || currentUser.getUserType() != User.UserType.Admin)
 	{
 		response.sendRedirect("login.jsp");
 	}
 %>
   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
   "http://www.w3.org/TR/html4/loose.dtd">

   <html>

      <head>
         <meta http-equiv="Content-Type" 
            content="text/html; charset=windows-1256">
         <title>  Welcome - Adventure Time MedSys   </title>
         <link rel="stylesheet" type="text/css" href="style.css" />
      </head>
	
      <body>

         <center>
           
			
            Welcome <%= currentUser.getFirstName() + " " + currentUser.getLastName() %>
         </center>

      </body>
	
   </html>